import { post } from '@/utils/request'

// 大屏分页列表
export const getDmpPageList = p => post(`/service-report/reportManage/v1/dmpPageList`, p)
// 大屏状态修改
export const changeDmpStatus = p => post(`/service-report/reportManage/v1/changeDmpStatus/${p.id}/${p.status}`, p, 'get')
// 大屏删除
export const delDmpReport = p => post(`/service-report/reportManage/v1/delDmpReport/${p.id}`, p, 'get')

// 报表分页列表
export const getJmPageList = p => post(`/service-report/reportManage/v1/jmPageList`, p)
// 报表状态修改
export const changeJmStatus = p => post(`/service-report/reportManage/v1/changeJmStatus/${p.id}/${p.status}`, p, 'get')
// 报表删除
export const delJmReport = p => post(`/service-report/reportManage/v1/delJmReport/${p.id}`, p, 'get')
// 获取报表服务器地址
export const getJimuReportServer = p => post(`/service-report/reportManage/v1/jimuReportServer`, p, 'get')
